<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:forEach items="${templateList}" var="tem" begin="0" end="15">
<div class="top_one whitebg">
<i class="top_pic">
<a href="/templateContent.html?templatetemplateId=${tem.id}" target="_blank"><img src="${tem.tImageUrl}"></a>
</i>
      <section class="top_box">
        <h2><a href="/templateContent.html?templatetemplateId=${tem.id}" target="_blank">${tem.tTitle}</a></h2>
        <p class="top_info">${tem.tInfo}</p>
        <p class="top_time"><b>最后更新</b>：<fmt:formatDate value="${tem.tCreatetime}" pattern="yyyy-MM-dd  HH:mm:ss"/></p>
        <p class="top_tj"><b>推荐指数</b>：<i class="star${tem.tStar}"></i></p>
        <span class="top_link"><a href="/templateContent.html?templateId=${tem.id}" target="_blank" class="fufei">付费模板</a><a href="${tem.tOnlineUrl}" target="_blank">在线预览</a><a href="#" target="_blank" class="wxzx">微信购买咨询
					<i><img src="${tem.tWxPhoto}"></i>
				</a></span> </section>

   </div>

</c:forEach>